home *** CD-ROM | disk | FTP | other *** search
/ C & C++ Multimedia Cyber Classroom / C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso / src / fig22_12.jar / Ch22 / Fig22_12 / Fig22_12.c
C/C++ Source or Header  |  1993-11-09  |  176b  |  11 lines

  1. /* Printing numbers with and without the + flag */
  2. #include <stdio.h>
  3.  
  4. main()
  5. {
  6.    printf("%d\n%d\n", 786, -786);
  7.    printf("%+d\n%+d\n", 786, -786);
  8.    return 0;
  9. }
  10.  
  11.